#!/user/bin/env python3
# -*- coding: utf-8 -*-
from src.routers.ESRIBundle.esri_bundle import ESRIBunlde
from src.routers.ESRIBundle.esri_bundle_tile import ESRIBundle_tile

def BuildESRIBundleRouter(api):
    api.add_resource(ESRIBunlde, '/<string:servicename>/MapServer', '/<string:servicename>/MapServer/0')  # 返回的MapServer.json
    api.add_resource(ESRIBundle_tile, '/<string:servicename>/MapServer/tile/<int:level>/<int:row>/<int:column>')
